﻿@model HZU.ZP.Domain.Model.CompanyInformationView
@{
    Layout = "_ApplicatLayout";
}
<style type="text/css">
    img1 {
        width: 100%;
        height: 200px;
        margin-right: 10px;
        margin-bottom: 10px;
    }
</style>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <h3>@Model.CompanyInformation.CompanyName</h3>
            <p>
                @Model.CompanyInformation.Provincial @Model.CompanyInformation.Municipal&nbsp;|&nbsp;@Model.CompanyInformation.CompanyType&nbsp;|&nbsp;@Model.CompanyInformation.CompanySize&nbsp;|&nbsp;
                @Model.CompanyInformation.BigIndustry @Model.CompanyInformation.SmallIndustry
            </p>
            <dl>
                <dt>
                    联系方式
                </dt>
                <dd>
                    <p>地址：@Model.CompanyInformation.Address</p>
                    <br />
                </dd>
                <dt>
                    公司简介
                </dt>
                <dd>
                    <textarea style="border:none; height:128px;width:98%" readonly>@Model.CompanyInformation.CompayIntroduction</textarea>
                </dd>
            </dl>
        </div>
    </div>
    公司图片
    @if (Model.CompayPictures.Count() > 0)
    {
        <div class="row clearfix">
            <div class="col-md-12 column">
                <div class="carousel slide" id="carousel-482870">
                    <ol class="carousel-indicators">
                        <li class="active" data-slide-to="0" data-target="#carousel-482870">
                        </li>
                        @for (int i = 1; i < Model.CompayPictures.Count(); i++)
                        {
                            <li data-slide-to="@i" data-target="#carousel-482870">
                            </li>
                        }
                    </ol>
                    <div class="carousel-inner">
                        <div class="item active">
                            <img alt="" src="@Model.CompayPictures[0].Picture" style="height:300px;width:100%;" />
                        </div>
                        @for (int i = 1; i < Model.CompayPictures.Count(); i++)
                        {
                            <div class="item">
                                <img alt="" src="@Model.CompayPictures[i].Picture" style="height:300px;width:100%;" />
                            </div>
                        }
                    </div> <a class="left carousel-control" href="#carousel-482870" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="#carousel-482870" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
                </div>
            </div>
        </div>
    }


</div>
